package com.lianqi.emcpframework.core.dict.internal;

import com.lianqi.emcpframework.core.dict.DictionaryItem;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.List;

/**
 * @program emcp-framework
 * @ClassName EnumDictionaryItem
 * @description: 枚举类型字典元素实现类
 * @author: sky
 * @create: 2018/11/23 09:56
 */
@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
public class EnumDictionaryItem implements DictionaryItem {
    private String text;
    private String value;
    private String comments;
    private int ordinal;
    private List<DictionaryItem> children;
 }
